// filename: LoginDialog.h
// author: enic
// date: 2015-11-05

#pragma once

#include "import_duilib.h"

namespace DuiLib
{

	class LoginDialog : public WindowImplBase
	{
	public:
		LoginDialog();
		virtual ~LoginDialog();

		DUI_DECLARE_MESSAGE_MAP()
	public:
		LPCTSTR GetWindowClassName() const;
		virtual CDuiString GetSkinFile();
		virtual CDuiString GetSkinFolder();
		virtual CControlUI* CreateControl(LPCTSTR pstrClass);
		virtual void InitWindow();
		virtual void InitControls();
		virtual void OnFinalMessage(HWND hWnd);
		virtual void OnBtnLogin(TNotifyUI& msg);

	private:
		CTextUI*  m_ptxtTip;
		CEditUI*  m_pedtUserName;
		CEditUI*  m_pedtPassword;
		CButtonUI*  m_pBtnLogin;
		CButtonUI*  m_pBtnSysSetting;
		CCheckBoxUI*  m_pChkRememberPWD;
	};

}